function encodeURL(a) {
    return encodeURIComponent(a)
}
function decodeURL(a) {
    return decodeURIComponent(a.replace(/\+/g, " "))
}

function encryptURL() {
    document.getElementById("resulttext").innerHTML = "Kết quả Mã hóa:";
    document.helloximoURL.T2URL.value = encodeURL(document.helloximoURL.T1URL.value);
    return !1
}
function decryptURL() {
    document.getElementById("resulttext").innerHTML = "Kết quả Giải mã:";
    document.helloximoURL.T2URL.value = decodeURL(document.helloximoURL.T1URL.value);
    return !1
}